{% extends 'myadmin/index.html' %}

{% block title %}
<title>后台-订单详情列表</title>
{% endblock %}

{% block con %}

<div class="row-content am-cf">
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <div class="widget-head am-cf">
                    <div class="widget-title  am-cf">订单详情列表</div>
                </div>

                <div class="widget-body  am-fr">
                    <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                        <div class="am-form-group">
                            <div class="am-btn-toolbar">
                                <div class="am-btn-group am-btn-group-xs">
                                   
                                </div>
                            </div>
                        </div>
                    </div>
                <!-- form表单不写提交地址默认提交到本页面　默认就是get提交方式 -->
               

                    <div class="am-u-sm-12">



                        <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black ">
                            <thead>
                                <tr>
                                    <th>id</th>
                                    <th>用户名</th>
                                    <th>商品图</th>
                                    <th>商品编号</th>
                                    <th>商品标题</th>
                                    <th>单价</th>
                                    <th>数量</th>

                                </tr>
                            </thead>
                            <tbody>
                                {% for i in orderinfolist %}
                                <tr>
                                    <td>{{i.id}}</td>
                                    <td>{{i.orderid.uid.username}}</td>

                                    <td>
                                        <img src="{{ i.pic_url }}" class="tpl-table-line-img" alt="">
                                    </td>
                                    <td class="am-text-middle">{{ i.goodsid }}</td>
                                    <td class="am-text-middle">{{ i.title }}</td>
                                    <td class="am-text-middle">{{ i.price }}</td> 
                                    <td class="am-text-middle">{{ i.num }}</td> 

                                </tr>
                                {% endfor %}
                                <!-- more data -->
                            </tbody>
                        </table>
                    </div>
                    <div class="am-u-lg-12 am-cf">
                        <div class="am-fr">
                            <ul class="am-pagination tpl-pagination">
                               
                                


                                
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>




{% endblock %}